<ion-menu [content]="content">

  <ion-header>

    <ion-navbar>
      <!--<button tappable ion-button icon-only  (click)="goBack()" >-->
        <!--<ion-icon name="ios-arrow-back-outline">-->
        <!--</ion-icon>-->
      <!--</button>-->
      <!--<span>-->
        <!--返回-->
      <!--</span>-->
      <!--<ion-title>设置</ion-title>-->
    </ion-navbar>

  </ion-header>


  <ion-content>
    <ion-list no-lines>
      <button ion-item (click)="gotoHome('homePage')">
        立即预定
      </button>
      <button ion-item (click)="openWaitingUse()">
        待消费
      </button>
      <button ion-item  (click)="openConsumeRecord()">
        历史用餐记录
      </button>
      <button ion-item  (click)="openOverdue()">
        逾期未取餐
      </button>
      <button ion-item  (click)="gotoIntegral()">
        我的积分
        <ion-note clear item-end>
          {{integral}}{{integral? '分': ''}}
        </ion-note>
      </button>
      <!--<button ion-item  (click)="openPage('listPage')">-->
      <!--我的营养管理-->
      <!--</button>-->
      <button ion-item  (click)="gotoUnreadMessage()">
        我的消息
        <ion-badge color="danger" item-end>{{messageCount}}</ion-badge>
      </button>
    </ion-list>
  </ion-content>

</ion-menu>
<ion-nav [root]="rootPage" #content swipeBackEnabled="false"></ion-nav>
